package com.whoiszxl.controller;

import com.whoiszxl.core.base.BaseController;
import com.whoiszxl.cqrs.command.PurchaseSupplierAddCommand;
import com.whoiszxl.cqrs.command.PurchaseSupplierUpdateCommand;
import com.whoiszxl.cqrs.query.SupplierQuery;
import com.whoiszxl.cqrs.response.PurchaseSupplierResponse;
import com.whoiszxl.entity.PurchaseSupplier;
import com.whoiszxl.service.IPurchaseSupplierService;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 采购供应商相关接口
 *
 * @author whoiszxl
 * @date 2022/3/18
 */
@Slf4j
@RestController
@RequestMapping("/purchase/supplier")
@Tag(name = "采购供应商相关接口")
@RequiredArgsConstructor
public class PurchaseSupplierController extends BaseController<IPurchaseSupplierService, PurchaseSupplier, PurchaseSupplierResponse, SupplierQuery, PurchaseSupplierAddCommand, PurchaseSupplierUpdateCommand> {

}
